home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0429.dms / q0429.adf / libray / libobj / list.h < prev    next >
C/C++ Source or Header  |  1991-08-08  |  1KB  |  44 lines

  1. /*
  2.  * list.h
  3.  *
  4.  * Copyright (C) 1989, 1991, Craig E. Kolb
  5.  * All rights reserved.
  6.  *
  7.  * This software may be freely copied, modified, and redistributed
  8.  * provided that this copyright notice is preserved on all copies.
  9.  *
  10.  * You may not distribute this software, in whole or in part, as part of
  11.  * any commercial product without the express consent of the authors.
  12.  *
  13.  * There is no warranty or other guarantee of fitness of this software
  14.  * for any purpose.  It is provided solely "as is".
  15.  *
  16.  * $Id: list.h,v 4.0 91/07/17 14:38:45 kolb Exp Locker: kolb $
  17.  *
  18.  * $Log:    list.h,v $
  19.  * Revision 4.0  91/07/17  14:38:45  kolb
  20.  * Initial version.
  21.  * 
  22.  */
  23. #ifndef LIST_H
  24. #define LIST_H
  25.  
  26. #define GeomListCreate()    GeomCreate((GeomRef)ListCreate(), ListMethods())
  27.  
  28. /*
  29.  * List object
  30.  */
  31. typedef struct {
  32.     struct Geom *list;        /* List of prims/objs. in object */
  33.     struct Geom *unbounded;    /* List of unbounded prims. */
  34.     Float bounds[2][3];        /* Bounding box of object */
  35. } List;
  36.  
  37. extern char    *ListName();
  38. extern int    ListIntersect(), ListConvert();
  39. extern void    ListBounds();
  40. extern List    *ListCreate();
  41. extern Methods    *ListMethods();
  42.  
  43. #endif /* LIST_H */
  44.